package com.shutong.edu.invoke.retry.test;

public class GreetServiceImpl implements GreetService {

    @Override
    public String greet(String name) {
        return "Hello, " + name;
        // throw new RuntimeException("Empty method.");
    }

    private String fallback(String name, Throwable throwable, Object result) {
        return "您好，中国！";
    }
}
